<div class="fl kf-center">
	<div class="bk-a">
		<br />
		<div id="title">
			<a href="index.php">首页</a>><a href="reservationSystem.php">预定系统</a>
		</div>
		<div>
			<p class="kf-begin">
				舒适客房
			</p>
			<div class="bk-l"></div>
			<div class="mt10 mb10">
				<a class="yd-a" href="?r=order/step1">1.选择日期</a><a class="yd-b" href="?r=order/step2">2.选择房型</a><a class="yd-b" href="?r=order/step3">3.完善信息</a><a class="yd-c" href="?r=order/step4">4.确认订单</a>
			</div>

			<div class="yd-wsxx">
				<div class="yd-xx">
					<h1>入住信息</h1>
					<p class="mt10">
						入住时间：<?php echo $_SESSION["in_date"] ?><span class="ml20">离店时间：<?php echo $_SESSION["out_date"] ?></span><span class="ml20">客房数量：<?php echo $_SESSION["room_count"] ?> </span><a href="?r=order/step1" class="ml35">修改</a>
					</p>
					<p class="mt10">
						房间类型：<?php echo $_SESSION["room_type_name"] ?><span class="ml20">床型：<?php echo $_SESSION["bed_type"] ?></span><span class="ml20">价格：<?php echo number_format($_SESSION["price"], 2) ?> </span><a href="?r=order/step2" class="ml35">修改</a>
					</p>
				</div>
				<div class="yd-xx mt20">
					<h1>贵宾信息</h1>
					<p>
						姓名：<?php echo $userInfo->name ?><span class="ml20">性别：<?php echo $userInfo->gender ?></span>
					</p>
					<p>
						手机：<?php echo $userInfo->mobile ?>
					</p>
					<p>
						身份证号：<?php echo $userInfo->id_card ?>
					</p>
					<p>
						邮箱：<?php echo $userInfo->email ?>
					</p>
				</div>
				<form action="?r=order/step4" method="post">
				<div class="mt10">
					<p>
						<input type="radio" <?php if (empty($_SESSION["member_type"]) || $_SESSION["member_type"] === 'old') echo 'checked="checked"' ?> checked="checked" value="old" name="rdoMember" id="rdoMember1" />
						&nbsp;<label for="rdoMember1">启用以上会员信息</label>
						<input class="ml10"<?php if (!empty($_SESSION["member_type"]) && $_SESSION["member_type"] === 'new') echo 'checked="checked"' ?> type="radio" name="rdoMember" value="new" id="rdoMember2" />
						&nbsp;<label for="rdoMember2">填写新的信息</label>
					</p>
					<p class="mt10">
						<input type="checkbox" name="r_msg" id="input_r_msg" value="1" />
						&nbsp;<label for="input_r_msg">短信接收预订信息</label>
						<input class="ml10" type="checkbox" name="r_email" id="input_r_email" value="1" />
						&nbsp;<label for="input_r_email">电子邮箱接收预订信息</label>
					</p>
				</div>
				<div class="mt10 yd-jia" style="display: <?php if (!empty($_SESSION["member_type"]) && $_SESSION["member_type"] === 'new') echo 'block'; else echo 'none'; ?>;" id="newInfo">
					<h1 class="fwb">填写新的信息</h1>
					<div class="yd-fx-bk mt10 mb10"></div>
					<p>
						贵宾姓名：
						<input type="text" name="link_name" value="<?php if (!empty($_SESSION["link_name"])) echo $_SESSION["link_name"] ?>" />
						<i>*</i>
					</p>
					<p>
						性别：
						<input id="rdoGender1" class="ml20" type="radio" value="1" <?php if (empty($_SESSION["link_gender"]) || $_SESSION["link_gender"] == 1) echo 'checked="checked"' ?> name="link_gender" />
						<label for="rdoGender1">男</label>
						<input id="rdoGender2" class="ml20" type="radio" value="0" name="link_gender" <?php if (!empty($_SESSION["link_gender"]) && $_SESSION["link_gender"] == 0) echo 'checked="checked' ?> />
						<label for="rdoGender2">女</label>
					</p>
					<p>
						身份证号：
						<input type="text" name="link_id_card" value="<?php if (!empty($_SESSION["link_id_card"])) echo $_SESSION["link_id_card"] ?>" />
						<i>*</i>
					</p>
					<p>
						联系手机：
						<input type="text" name="link_mobile" value="<?php if (!empty($_SESSION["link_mobile"])) echo $_SESSION["link_mobile"] ?>" />
						<i>*</i>
					</p>
					<p>
						电子邮箱：
						<input type="text" name="link_email" value="<?php if (!empty($_SESSION["link_email"])) echo $_SESSION["link_email"] ?>"/>
						<i>*&nbsp;</i>
					</p>
					<p>
						联系地址：
						<input type="text" name="link_address" value="<?php if (!empty($_SESSION["link_address"])) echo $_SESSION["link_address"] ?>" />
						<i>*&nbsp;</i>
					</p>
					<p>
						特别说明：
					</p>
					<p>
						<textarea name="link_desc"><?php if (!empty($_SESSION["link_desc"])) echo $_SESSION["link_desc"] ?></textarea>
					</p>
					<p>
						注：请填写准确、真实的信息
					</p>
					<div class="yd-fx-bk mt10 mb10"></div>

				</div>
				<div class="mt10" style="margin-top: 20px;">
					<a class="yd-baek" href="?r=order/step2">返回</a>
					<input type="submit" class="yd-next" value="下一步" style="color:#b98c5d;width:80px;height:30px;margin-left:80px;"/>
				</div>
				</form>
				<script type="text/javascript">
					$('#rdoMember1').click(function(){
						$('#newInfo').css('display', 'none');
						$('div.fl').height('674px');
					});
					$('#rdoMember2').click(function(){
						$('#newInfo').css('display', 'block');
						$('div.fl').height('1000px');
					});
				</script>
			</div>

		</div>
	</div>
</div>
